package com.lphj.datainterface.service.impl;

import com.lphj.datainterface.dao.GoodsDao;
import com.lphj.datainterface.entity.Goods;
import com.lphj.datainterface.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    GoodsDao goodsDao;

    @Override
    public int getGoodsBySGoodsNO(String sGoodsNO) {
        return goodsDao.GetGoodsBySGoodsNO(sGoodsNO);
    }

    @Override
    public Goods getGoodsBySGoodsNO2(String sGoodsNO2) {
        return goodsDao.GetGoodsBySGoodsNO2(sGoodsNO2);
    }
}
